<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>

<div class="titlePage"><bean:message key="app.title.login"/></div>

<html:errors />

<html:form action="Login.do" onsubmit="return validateLoginForm(this)"> 
    <table width="45%" border="0">
        <tr>
            <td class="titleField"><bean:message key="app.username" />:</td>
            <td><html:text property="username" /></td>
        </tr>
        <tr>
            <td class="titleField"><bean:message key="app.password" />:</td>
            <td><html:password property="password" /></td>
        </tr>
        <tr>
            <td colspan="2" align="center"><html:submit/></td>
        </tr>
        <%-- set the parameter for the dispatch action --%>
        <html:hidden property="do" value="userLoginAction" />	
    </table>
</html:form> 


<html:javascript formName="loginForm" /> 
